package com.chenbei.erp.vo.req;

import com.chenbei.erp.vo.InStorageLocationProductVo;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.util.List;

@Schema(description = "入库请求")
@Data
public class InStorageReq {

    @Schema(description = "仓库ID")
    @NotNull(message = "仓库不能为空")
    private Long warehouseId;

    @Schema(description = "入库时间")
    @NotNull(message = "入库时间不能为空")
    private String time;

    @Schema(description = "入库员ID")
    @NotNull(message = "入库操作人员不能为空")
    private Long userId;

    @Schema(description = "入库仓位产品集合")
    @NotNull(message = "入库产品不能为空")
    private List<InStorageLocationProductVo> storeLocationProducts;

    @Schema(description = "备注")
    private String remark;
}
